HttpServerEndpoint{ }
HttpServerEndpoint{ }
start{
  ServerBootstrap sb=new ServerBootstrap(socketFactory);
  sb.setPipelineFactory(new ServerPipelineFactory(configuration));
  Channel channel=sb.bind(new InetSocketAddress(port));
  allChannels.add(channel);
}
stop{
  ChannelGroupFuture future=allChannels.close();
  future.awaitUninterruptibly();
  socketFactory.releaseExternalResources();
}
